package com.lianzai.shop.service.impl;

import com.lianzai.shop.dao.OrderDao;
import com.lianzai.shop.dao.UseDao;
import com.lianzai.shop.model.Shop;
import com.lianzai.shop.model.Use;
import com.lianzai.shop.service.OrderService;
import com.lianzai.shop.service.UseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UseServiceImpl implements UseService {
	@Autowired
	private UseDao useDao;

	@Override
	public List<Use> list(Map<String, Object> map){
		return useDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return useDao.count(map);
	}

}
